Garbage Collection Should Be Lifetime Aware
نویسندگان
چکیده
We argue that garbage collection should be more closely tied to object demographics. We show that this behaviour is sufficiently distinctive to make exploitation feasible and describe a novel GC framework that exploits object lifetime analysis yet tolerates imprecision. We argue for future collectors based on combinations of approximate analyses and dynamic sampling.
منابع مشابه
A Long Endurance Policy (LEP): An Improved Swap Aware Garbage Collection For NAND Flash Memory Used As A Swap Space In Electronic Devices
-Flash memory has more capacity and less weight. It makes it more suitable for electronic media. Electronics such as tablet PC and smart phones use NAND flash memory as a secondary storage because it has many attractive features such as small size, fas t access speeds, and light weight. However, it has shown limited success in its battle against the hard disk, due to intrinsic weak points of: e...
متن کاملOldest-first garbage collection
An oldest-first generational garbage collector leaves intact the most recently allocated object space, and instead collects the remaining, older objects. Because these older objects have had more time to die, an oldestfirst copying collector will generally do less copying that a traditional generational collector (which operates youngest-first), a non-generational collector, and even Clinger an...
متن کاملCharacterisation of object behaviour in Standard ML of New Jersey
We describe a method of measuring lifetime characteristics of heap objects, and discuss ways in which such quantitative object behaviour measurements can help improve language implementations, especially garbage collection performance. For Standard ML of New Jersey, we find that certain primary aspects of object behaviour are qualitatively the same across benchmark programs, in particular the r...
متن کاملMeaningful Type Names as a Basis for Object Lifetime Prediction
Object lifetime prediction can identify short-lived and longlived objects at or before their heap-allocation point. This prediction is an increasingly important technique to enable optimization of runtime decisions for high-performance garbage collection. This paper shows that extracting information from object type names can give a reliable and efficient way to make such object lifetime predic...
متن کاملLocality-Aware Many-Core Garbage Collection
The wide-scale deployment of multi-core and many-core processors will necessitate fundamental changes to garbage collectors. Highly parallel garbage collection is critical to the performance of these systems — today’s garbage collectors can quickly become the bottleneck for parallel programs. These processors will present additional new challenges — many contain non-uniform memory architectures...
متن کامل